package com.kevin.miniospring;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author Kevin Liu
 * @date 2020/6/9 9:59 下午
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(MinioSpringRegistrar.class)
public @interface EnableMinioOss {


    @AliasFor("bucket")
    String[] value() default {};

    @AliasFor("value")
    String[] bucket() default {};
}
